function submitQuiz1()
{
    var numberCorrect= 0;
    var ql = document.forms.quiz1.question1;
    var q1 = document.forms.quiz1.question1;
    if( q1[0].checked == true)
    {
    	numberCorrect = numberCorrect + 1;
    	
    }
    var q2 = document.forms.quiz1.question2;
    var q2 = document.forms.quiz1.question2;
    if( q2[ 1 ].checked == true)
    	{
    	numberCorrect = numberCorrect + 1;
    	}
    var q3 = document.forms.quiz1.question3;
    var q3 = document.forms.quiz1.question3;
    if( q3[ 1 ].checked == true)
    	{
    	numberCorrect = numberCorrect + 1;
    	}
    var q4 = document.forms.quiz1.question4;
    var q4 = document.forms.quiz1.question4;
    if( q4[ 2 ].checked == true)
    	{
    	numberCorrect = numberCorrect + 1;
    	}
    var q5 = document.forms.quiz1.question5;
    var q5 = document.forms.quiz1.question5;
    if( q5[ 0 ].checked == true)
    	{
    	numberCorrect = numberCorrect + 1;
    	}
    var q6 = document.forms.quiz1.question6;
    var q6 = document.forms.quiz1.question6;
    if( q6[ 2 ].checked == true)
    	{
    	numberCorrect = numberCorrect + 1;
    	}
    alert("you got "+ (numberCorrect/6)*100+" % correct" );
}


		
